//
//  OANewEmailController.h
//  OASystem
//
//  Created by zhoupengfei on 15/4/15.
//  Copyright (c) 2015年 zpf. All rights reserved.
///发邮件界面

#import <UIKit/UIKit.h>
#import "OAInBoxDetailModel.h"
#import "OASendDetailModel.h"

typedef enum {
    Retweet,
    Reply,
    Other
}ParamsType;
@interface OANewEmailController : UIViewController
@property (weak, nonatomic) IBOutlet UIWebView *webView;
@property (weak, nonatomic) IBOutlet UITableView *tableView;

@property (strong, nonatomic)  UITextField *sendTextField;
@property (strong, nonatomic)  UITextView *subjectTextField;
@property (strong, nonatomic)  UITextView *contentText;
@property(nonatomic,strong)NSString * attacmentURL;
@property(nonatomic,strong)NSString * context;
@property(nonatomic,strong)NSString * uid;
@property(nonatomic,strong)NSString * method;
@property(nonatomic,strong)NSString * url;
@property(nonatomic,strong)NSString * newtype;

@property(assign,nonatomic)ParamsType type;
@property(nonatomic,strong)OAInBoxDetailModel * detailModel;
@property(nonatomic,strong)OASendDetailModel * SenddetailModel;

@property(nonatomic,strong)NSMutableArray * attachmentArray;
- (IBAction)sendEmail:(UIBarButtonItem *)sender;

@end
